# -*- coding: utf-8 -*-
from django.conf.urls.defaults import patterns, include, url

from sprt.review import views
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    url(r'^$',views.index),
    url(r'^compose/(?P<id>\d+)$',views.compose),
    url(r'^commit/(?P<id>\d+)$',views.compose),
    url(r'^unfinished$',views.list_unfinished),
    url(r'^user/(?P<id>\d+)$',views.list_by_user),
    url(r'^dept/(?P<id>\d+)$',views.my_dept),
    url(r'^branch/(?P<id>\d+)$',views.branch),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
)
